package test;

import org.springframework.boot.SpringApplication;
import org.springframework.boot.autoconfigure.EnableAutoConfiguration;
import org.springframework.context.annotation.ComponentScan;
import org.springframework.context.annotation.Configuration;


/**
 * Created by wuhui on 2016/8/8.
 */
@Configuration
@EnableAutoConfiguration
@ComponentScan(basePackages = {"test","test2"})
public class Application {
    public static void main(String[] args) {
        // 启动Spring Boot项目的唯一入口
        SpringApplication app = new SpringApplication(Application.class);

        app.run(args);
    }

}
